package com.procurement.orders.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import com.ruoyi.common.core.web.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 物料档案对象 pcm_material_record
 * 
 * @author liyang
 * @date 2023-11-27
 */
public class PcmMaterialRecord extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /** 产品编号 */
    private String productNumber;

    /** 产品名称 */
    @Excel(name = "产品名称")
    private String productName;

    /** 单位 */
    @Excel(name = "单位")
    private Long unit;




    public void setProductNumber(String productNumber)
    {
        this.productNumber = productNumber;
    }

    public String getProductNumber() 
    {
        return productNumber;
    }

    public void setProductName(String productName) 
    {
        this.productName = productName;
    }

    public String getProductName() {return productName;}

    public void setUnit(Long unit) 
    {
        this.unit = unit;
    }

    public Long getUnit() 
    {
        return unit;
    }



    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("productNumber", getProductNumber())
            .append("productName", getProductName())
            .append("unit", getUnit())
            .toString();
    }
}
